package com.lianzheng.dao;

import java.util.List;
import com.lianzheng.model.TbDocArticleinfo;

/**
 * User Data Access Object (DAO) interface.
 *
 * <p>
 * <a href="TbDocArticleinfoDAO.java.html><i>View Source</i></a>
 * </p>
 *
 * @author <a href="heymanchen@gmail.com">haihua chen</a>
 */
public interface TbDocArticleinfoDAO extends com.lianzheng.dao.DAO {
    /**
     * Gets TbDocArticleinfos information based on id
     * @param id the current ID
     * @return TbDocArticleinfo populated TbDocArticleinfo object
     */
    public TbDocArticleinfo getTbDocArticleinfo(String id);
	public TbDocArticleinfo getTbDocArticleinfoFull(String id);



    /**
     * add a tbDocArticleinfo's information
     * @param tbDocArticleinfo the object to be added
     */
    public void addTbDocArticleinfo(TbDocArticleinfo tbDocArticleinfo);
    /**
     * update a tbDocArticleinfo's information
     * @param tbDocArticleinfo the object to be updated
     */
    public void updateTbDocArticleinfo(TbDocArticleinfo tbDocArticleinfo);
    /**
     * Removes a tbDocArticleinfo from the database by primary Key id
     * @param id the tbDocArticleinfo's id
     */
    public void removeTbDocArticleinfo(String id);

    /**
     * Gets a list of TbDocArticleinfos based on parameters passed in.
     *
     * @return List populated list of TbDocArticleinfos
     */
    public List getTbDocArticleinfos();

    public List getTbDocArticleinfoByAnd(TbDocArticleinfo tbDocArticleinfo,String order_by);

    public List getTbDocArticleinfoByOr(TbDocArticleinfo tbDocArticleinfo,String order_by);

    public List getTbDocArticleinfoByLike(TbDocArticleinfo tbDocArticleinfo,String order_by);
}
